home *** CD-ROM | disk | FTP | other *** search
-
-
-
- - 1 -
-
-
-
- 4. _D_o_c_u_m_e_n_t_a_t_i_o_n__A_d_d_i_t_i_o_n_s__a_n_d__E_r_r_o_r_s
-
- 4.1 _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s__t_o__C_o_n_t_r_o_l_s
-
- The following sections list, by node, the changes or
- additions made to the control set.
-
- _D_e_v_i_c_e _N_o_d_e
-
- +o VL_MGV_INPUT_ALPHA_LUT_SELECT,
- VL_MGV_OUTPUT_ALPHA_LUT_SELECT. These controls have
- been moved to the Blender node.
-
- +o VL_MGV_DMA_READ_BURST_LEN, VL_MGV_DMA_WRITE_BURST_LEN
-
- These API device controls are used to set the
- SpeedRacer professional video VGI1 DMA controller's
- read/write burst lengths. The reason why this API was
- created was to avoid the video hardware resetting due
- to DMA lockup. This control should only be used if the
- video hardware is presenting this problem.
-
-
- These controls are hardware specific and will only work
- on the SpeedRacer. The burst length is the maximum
- length of DMA burst on GIO64 bus. On each clock cycle
- 8 bytes are transferred. So this value will effectively
- tweak the HOST to Video (read) or Video to Host (write)
- DMA transfer length.
-
- As part of the library used for the video server daemon
- two environment veriables SRV_VGI1_READ_BURSTLEN &
- SRV_VGI1_WRITE_BURSTLEN override the API values for
- this setting:
-
- e.g. in csh
-
- setenv SRV_VGI1_READ_BURSTLEN 64
- setenv SRV_VGI1_WRITE_BURSTLEN 64
-
- When data starts transferring, the video server daemon
- will always defer and use these environmental variables
- for the burst length. This method takes precedence
- over the API device controls.
-
- Maximum length of DMA burst on GIO64 (bus)
-
- from 1 = one double word (1 clock cycle)
- to 255 = 255 double words (255 clock cycles)
-
-
-
-
-
-
-
-
-
-
-
-
-
- - 2 -
-
-
-
- The default values are 128.
-
-
- Control Default Type
- VL_MGV_DMA_WRITE_BURST_LEN Persistent intVal
- VL_MGV_DMA_READ_BURST_LEN Persistent intVal
-
-
- _S_c_r_e_e_n _S_o_u_r_c_e _N_o_d_e
-
- +o The valid ports for the screen source nodes are:
-
- VL_IMPACT_PORT_PIXEL_SRC_A - Single-link 8-bit
- pixel source from graphics
- VL_IMPACT_PORT_ALPHA_SRC_A - Single-link 8-bit
- alpha source from graphics
-
- The screen source nodes do not have
- VL_IMPACT_PORT_PIXEL_SRC_B or
- VL_IMPACT_PORT_ALPHA_SRC_B ports.
-
- _V_i_d_e_o _D_r_a_i_n _N_o_d_e
-
- +o VL_MGV_OUTPUT_HPHASE, VL_MGV_OUTPUT_ALPHA_HPHASE.
- These controls have range -3071 to 1023 pixels. A
- value of 0, the default, indicates that the output
- is aligned to reference.
-
- +o VL_MGV_INPUT_ALPHA_LUT_SELECT,
- VL_MGV_OUTPUT_ALPHA_LUT_SELECT. These controls
- reside on the blender node. The input lut is
- enabled only when a source from outside the CC1 is
- routed to a blender alpha input. Likewise, the
- output lut is enabled only when the blender alpha
- output is sent outside the CC1.
-
- _B_l_e_n_d_e_r _N_o_d_e
-
- +o VL_MGV_BLANK_ALPHA_CHROMA. This control resides on
- the blender node and allows the chromanince
- components to be blanked on the alpha output.
- Valid values for this control are:
-
- TRUE Blank chroma
- FALSE Pass chroma
-
- Default: FALSE (pass chroma)
-
- Type: boolVal
-
-
-
-
-
-
-
-
-
-
-
-
-
- - 3 -
-
-
-
- +o VL_MGV_BLEND_A_ALPHA_SELECT. This control allows
- the blender foreground alpha input to be selected
- from the external source (VL_BLEND_A_ALPHA), or
- one of the internal sources (key generator or
- 0.0). Valid values for this control are:
-
- 0 External Blender Input
- 1 Key Generator
- 2 0.0
-
- Default: 0 (External Blender Input)
-
- Type: intVal
-
- +o VL_MGV_BLEND_B_SELECT. This control allows the
- blender background pixel to be selected from the
- external source (VL_BLEND_B), or one of the
- internal sources (flat background generator).
- Valid values for this control are:
-
- 0 External Blender Input
- 1 Flat Background (Constant YUV) Generator
-
- Default: 0 (External Blender Input)
-
- Type: intVal
-
- +o VL_MGV_BLEND_B_ALPHA_SELECT. This control allows
- the blender background alpha to be selected from
- the external source (VL_BLEND_B), or one of the
- internal sources (0.0, 1.0). Valid values for this
- control are:
-
- 0 External Blender Input
- 1 0.0
- 2 1.0
-
- Default: 0 (External Blender Input)
-
- Type: intVal
-
- 4.2 _F_r_a_m_e_-_A_c_c_u_r_a_t_e__C_o_n_t_r_o_l__S_e_t_t_i_n_g
-
- Prior to Release 6.5, an application setting a control on a
- video stream had no guarantees about which frame/field of
- video the control would first take effect on. Starting in
- Release 6.5, OCTANE Digital Video and IMPACT Video provide
- the ability to specify the frame/field of video at which
- some controls take effect. _v_l_S_e_t_C_o_n_t_r_o_l_I_n_L_i_n_e(_3_d_m) and
- _v_l_S_e_t_C_o_n_t_r_o_l_T_r_i_g_g_e_r(_3_d_m) provide interfaces to exercise this
- capability. Refer to the man pages for further information
-
-
-
-
-
-
-
-
-
-
-
- - 4 -
-
-
-
- on the use of these interfaces.
-
- The following limitations apply to frame-accurate control
- changes on OCTANE Digital Video and IMPACT Video.
-
- +o Triggered controls are supported using MSC and GPI
- only.
-
- +o To set a control at a designated time, IRIX realtime
- performance guarantees are relied upon. To maintain
- these guarantees, applications should not be run at
- realtime priorities higher than priority 155. In
- addition, adequate memory must be present on the system
- to prevent significant levels of paging, as this can
- also interfere with realtime response. (If a control is
- executed later than the designated time due to the
- above-mentioned causes, or because it was submitted
- late, a VLAdvanceMissed event is sent to the
- application).
-
- +o Only the following controls can be set with frame-
- accuracy:
-
- VL_MGV_WIPE_TYPE
- VL_MGV_WIPE_DIRECTION
- VL_MGV_WIPE_SHARPNESS
- VL_MGV_WIPE_ANGLE
- VL_MGV_WIPE_POSN
- VL_MGV_WIPE_POSN_PERP
- VL_MGV_WIPE_CENT
- VL_MGV_WIPE_CENT_PERP
- VL_MGV_WIPE_REPT
- VL_MGV_WIPE_REPT_PERP
- VL_MGV_WIPE_FUZZ
- VL_MGV_CC1_BLANK_WIDTH_CH1
- VL_MGV_CC1_BLANK_WIDTH_CH2
- VL_MGV_CC1_INPUT_ROUNDING_CH1
- VL_MGV_CC1_INPUT_ROUNDING_CH2
- VL_MGV_OUTPUT_FSYNC
- VL_MGV_OUTPUT_DL_SELECT_FREEZE
- VL_MGV_OUTPUT_DL_SELECT_FSYNC
- VL_MGV_KEYER_SOURCE
- VL_MGV_KEYER_MODE
- VL_MGV_KEYER_VALUE_LUMA
- VL_MGV_KEYER_RANGE_LUMA
- VL_MGV_KEYER_FG_OPACITY
- VL_MGV_KEYER_VALUE_CHROMA_U
- VL_MGV_KEYER_RANGE_CHROMA_U
- VL_MGV_KEYER_VALUE_CHROMA_V
- VL_MGV_KEYER_RANGE_CHROMA_V
- VL_MGV_KEYER_DETAIL
-
-
-
-
-
-
-
-
-
-
-
- - 5 -
-
-
-
- VL_MGV_BLEND_B_Y
- VL_MGV_BLEND_B_U
- VL_MGV_BLEND_B_V
- VL_MGV_BLEND_H_FILT
- VL_MGV_BLEND_SHADOW_ON
- VL_MGV_BLEND_SHADOW_GAIN
- VL_MGV_BLEND_SHADOW_OFFSET
- VL_MGV_OUTPUT_ALPHA_CHROMA
- VL_MGV_BLENDER_XYMIX
- VL_MGV_BLENDER_THRESH
- VL_MGV_BLENDER_VRAND
- VL_MGV_BLENDER_HRAND
- VL_MGV_BLENDER_SLICE_SEL
- VL_MGV_BLENDER_SEL_MODE
- VL_MGV_CSC_COEF
- VL_MGV_CSC_LUT_IN_PAGE
- VL_MGV_CSC_LUT_ALPHA_PAGE
- VL_FREEZE
- VL_BLEND_A_FCN
- VL_BLEND_B_FCN
- VL_BLEND_A_NORMALIZE
- VL_BLEND_B_NORMALIZE
- VL_BLEND_OUT_NORMALIZE
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-